package com.zhuoyue.biz.core.api.service;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zhuoyue.biz.core.api.domain.InfraredDeviceButtonDO;

import com.zhuoyue.common.dto.BatchResultDTO;

/**
 * @author wjming
 * @ClassName: InfraredDeviceButtonService
 * @Description: 红外设备按钮
 * @Date 2021-07-08 16:16
 */
public interface InfraredDeviceButtonService extends IService<InfraredDeviceButtonDO> {


    /**
     * 新增红外设备按钮
     * @param button
     * @param deviceId
     * @return
     */
    InfraredDeviceButtonDO addInfraredDeviceButton(InfraredDeviceButtonDO button, String deviceId);


    /**
     * 查询红外按钮
     *
     * @param query
     * @return
     */
    List<InfraredDeviceButtonDO> getButtonByQuery(InfraredDeviceButtonDO query);
}
